Method and apparatus for performing multicast traces in mpls networks

ABSTRACT

A multicast path trace capability is provided for tracing a multicast path from a root node to a leaf node where the trace originates at the leaf node. The leaf node sends a multicast trace request to the root node. The root node receives the multicast trace request and initiates a path trace request for collecting path information associated with the multicast path. The root node receives at least one path trace response, in response to the path trace request, which includes path information associated with the multicast path. The root node sends a multicast trace response, including the collected path information, to the leaf node. The leaf node receives the multicast trace response including the path information. The leaf node derives end-to-end path information for the multicast path using the path information received in the multicast trace response. The multicast path trace capability may be used for tracing an MPLS multicast path (e.g., a P2MP LSP) from a root node to a leaf node of the MPLS multicast tree. The multicast path trace capability may be used for tracing multicast paths in other types of multicast networks.

FIELD OF THE INVENTION

The invention relates generally to communication networks and, more specifically but not exclusively, to tracing multicast paths in multicast communication networks.

BACKGROUND

In Internet Protocol (IP) multicast networks, the multicast trace (mtrace) tool is used to trace the path that IP multicast packets take from a source to a destination. The mtrace tool is specified by an Internet Engineering Task Force (IETF) standard (“Mtrace Version 2: Traceroute Facility for IP Multicast,” http://tools.ietf.org/html/draft-ietf-mboned-mtrace-v2-07) which allows the tracing of IP multicast routing paths, in order to trace the path that an IP multicast packet would take from some source to some destination. With the evolution and acceptance of Multiprotocol Label Switching (MPLS) in Service Provider Networks, for transporting multicast applications over MPLS Label Switched Paths (LSPs) using Point-To-Multipoint (P2MP) LSPs which are established using Resource Reservation Protocol (RSVP) signaling, there is a need to enhance the above-described mtrace tool to trace the path for a given multicast flow from root node to leaf node.

SUMMARY

Various deficiencies in the prior art are addressed by embodiments for providing a multicast path trace capability adapted for tracing a multicast path from a root node to a leaf node where the trace originates at the leaf node. The leaf node sends a multicast trace request to the root node. The root node receives the multicast trace request and initiates a path trace request for collecting path information associated with the multicast path. The root node receives at least one path trace response, in response to the path trace request, which includes path information associated with the multicast path. The root node sends a multicast trace response, including the collected path information, to the leaf node. The leaf node receives the multicast trace response including the path information. The leaf node derives end-to-end path information for the multicast path using the path information received in the multicast trace response. The multicast path trace capability may be used for tracing an MPLS multicast path (e.g., a Point-to-Multipoint (P2MP) Label Switched Path (LSP)) from a root node to a leaf node of the MPLS multicast tree. The multicast path trace capability may be used for tracing multicast paths in other types of multicast networks.

BRIEF DESCRIPTION OF THE DRAWINGS

The teachings herein can be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which:

FIGS. 1A-1C depict high-level block diagrams of an exemplary multicast network, illustrating a process for tracing a multicast path from a root node to a leaf node;

FIG. 2 depicts one embodiment of a method for tracing a multicast path from a root node to a leaf node; and

FIG. 3 depicts a high-level block diagram of a computer suitable for use in performing the functions described herein.

To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures.

DETAILED DESCRIPTION OF THE INVENTION

A multicast path trace capability is depicted and described herein. The multicast path trace capability enables the tracing of a multicast path of a multicast network from the root node to the leaf node via the multicast network where the trace originates at the leaf node, The multicast path trace capability complements the existing mtrace tool (Internet Engineering Task Force (IETF) standard “Mtrace Version 2: Traceroute Facility for IP Multicast” which is incorporated herein by reference in its entirety), providing similar operational and management capabilities for MPLS-based multicast networks and other suitable multicast networks.

FIGS. 1A-1C depict high-level block diagrams of an exemplary multicast network, illustrating a process for tracing a multicast path from a root node to a leaf node.

As depicted in FIGS. 1A-1C, exemplary multicast network 100 includes a source node 110, a multicast network 120 supporting a multicast tree 121 using a plurality of routers 122 ₁-122 ₇ (collectively, routers 122), and a plurality of receiver nodes 130 ₁-130 ₃ (collectively, receiver nodes 130). The source node 110 distributes multicast traffic to the receiver nodes 130 via the multicast tree 121 supported by the routers 122 of multicast network 120.

As depicted in FIGS. 1A-1C, the source node 110 distributes the multicast traffic to the router 122 ₁. The multicast tree 121 is arranged as follows: (1) router 122 ₁ distributes the multicast traffic to routers 122 ₂ and 122 ₃, (2) router 122 ₂ distributes the multicast traffic to routers 122 ₄ and 122 ₅, (3) router 122 ₃ distributes the multicast traffic to router 122 ₆, and (4) router 122 ₄ distributes the multicast traffic to router 122 ₇. The routers 122 ₅, 122 ₆, and 122 ₇ distribute the multicast traffic to receiver nodes 130 ₁, 130 ₂, and 130 ₃, respectively. In this arrangement, router 122 ₁ is the root node of the multicast tree 121 and routers 122 ₅, 122 ₆, and 122 ₇ each are leaf nodes of the multicast tree 121.

The source node 110 distributes multicast traffic to multicast network 120 for multicasting of the multicast traffic to receiver nodes 130. The source node 110 may distribute the multicast traffic in any suitable manner. In one embodiment, for example, source node 110 distributes the multicast traffic as IP multicast packets using a unique IP multicast address for the multicast tree 121 of multicast network 120. The source node 110 may obtain the multicast traffic from any suitable source (e.g., locally where the traffic is stored on source node 110, from one or more other network elements, and the like).

The multicast network 120 receives the multicast traffic from source node 110 and multicasts the multicast traffic for delivery to receiver nodes 130. The multicast network 120 may be any suitable type of network utilizing any suitable multicast capabilities. In one embodiment, for example, multicast network 120 is an IP/MPLS network configured for supporting multicasting of traffic using Point-to-Multipoint (P2MP) Label Switched Paths (LSPs). In this embodiment, the multicast tree 121 is a P2MP LSP tree configured for providing multicast traffic from the root node (illustratively, router 122 ₁) to the leaf nodes (illustratively, routers 120 ₅, 120 ₆, and 120 ₇). The various characteristics of P2MP LSPs will be understood by one skilled in the art.

The root node 120 ₁ is a network ingress node and, in general, in an embodiment in which the multicast tree 121 is a P2MP LSP tree, a network ingress node may be a node at which: (1) the P2MP LSP tree originates, and (2) traffic, received from the source node 110 as IP multicast packets, is encapsulated with MPLS labels using MPLS and propagated over the P2MP LSP tree. The leaf nodes 120 ₅, 120 ₆, and 120 ₇ each are network egress nodes and, in general, in an embodiment in which the multicast tree 121 is a P2MP LSP tree, a network egress node may be a node at which: (1) the P2MP LSP tree terminates, and (2) MPLS label encapsulation is removed and the multicast traffic, as IP multicast packets, is propagated on one or more local outgoing interfaces to potential receivers of the multicast traffic (illustratively, receiver nodes 130).

The receiver nodes 130 receive the multicast traffic from multicast network 130. The receiver nodes 130 may be the intended destinations of the multicast traffic and/or may further distribute the multicast traffic downstream to one or more other network elements for which the multicast traffic is intended.

As described herein, FIGS. 1A-1C illustrate a process for tracing a multicast path from a root node to a leaf node, where the trace is originated by the leaf node (illustratively, for tracing a multicast path from router 122 ₁ to router 122 ₇ where the trace is originated by router 122 ₇). In this exemplary embodiment, the multicast path is an MPLS LSP of a P2MP LSP tree.

As depicted in FIG. 1A, at step 151, the leaf node issues a multicast trace request (also referred to herein as an mtrace request) which is routed to the root node via the multicast network 120. The mtrace request is configured to enable the leaf node to request tracing of the multicast path from the root node to the leaf node. The mtrace request may be formatted in any suitable manner. In one embodiment, the mtrace request is a new type of mtrace request packet having a new Internet Group Management Protocol (IGMP) Message Type. For example, the new IGMP Message Type may be designated as “mtrace request for P2MP MPLS Network” or using any other suitable designator. In one embodiment, the mtrace request is routed from the leaf node to the root node via a unicast path.

As depicted in FIG. 1B, at step 152, the root node, upon receiving the mtrace request from the leaf node, performs a P2MP LSP-Trace for tracing the multicast path from the root node to the leaf node from which the mtrace request is received (via multicast tree 121).

In one embodiment, the P2MP LSP-Trace is performed as specified in the IETF standard “Detecting Data Plane Failures in Point-to-Multipoint Multiprotocol Label Switching (MPLS)—Extensions to LSP Ping” which is incorporated herein by reference in its entirety.

The P2MP LSP-Trace enables the root node to collect path information associated with the multicast path traced from the root node to the leaf node.

The root node issues a path trace request (referred to herein as an LSP Trace request), which is propagated from the root node to the leaf node via the multicast network 120. The LSP Trace request is propagated from the root node to the leaf node via the multicast path from the root node to the leaf node, which may include one or more transit nodes. The transit nodes and leaf node of the multicast path each reply to the LSP Trace request with respective path trace responses (referred to herein as LSP Trace responses) including respective portions of the path information associated with the multicast path traced from the root node to the leaf node. As depicted in FIG. 1B, the LSP Trace request is propagate from router 122 ₁ to router 122 ₇ via routers 122 ₂ and 122 ₄ which are the transit nodes of the path.

The path information collected as part of a P2MP LSP-Trace may include any suitable information which may be collected as part of a P2MP LSP-Trace.

In one embodiment, for example, the path information includes the hop information of each node along the path from the root node to the leaf node (illustratively, the hop information of routers 122 ₁, 122 ₂, 122 ₄, and 122 ₇). As depicted in FIGS. 1A-1C, the hop values of the routers 122 ₁-122 ₇ are 1, 3, 2, 5, 6, 4, and 4, respectively.

In one embodiment, for example, the path information includes packet statistics of nodes along the multicast path from the root node to the leaf node. In one such embodiment, a new Target Forwarding Equivalence Class (FEC) Stack TLV can be added to the LSP Trace request for communicating a request for this information to each of the transit nodes between the root node and the leaf node (illustratively, routers 122 ₂ and 122 ₄). In this embodiment, each transit node, upon receiving the new Target FEC Stack TLV, appends the requested information (i.e., the requested packet statistics) to the LSP Trace response provided from the transit node back to the root node.

The P2MP LSP-Trace may enable the root node to collect any other suitable types of path information associated with the multicast path traced from the root node to the leaf node.

The result of the P2MP LSP-Trace performed by the root node is path information for the multicast path from the root node to the leaf node from which the mtrace request is received.

As depicted in FIG. 1C, at step 153, the root node, upon completion of the P2MP LSP-Trace (i.e., such that the root node has the path information for the multicast path from the root node to the leaf node from which the mtrace request is received), sends a multicast trace response (also referred to herein as an mtrace response) to the leaf node from which the mtrace request is received via the multicast network 120. The mtrace response is configured to enable the root node to respond to the leaf node with the results of the tracing of the multicast path from the root node to the leaf node. The mtrace response may be formatted in any suitable manner. In one embodiment, the mtrace response is a new type of mtrace response packet having a new Internet Group Management Protocol (IGMP) Message Type. For example, the new IGMP Message Type may be designated as “mtrace response for P2MP MPLS Network” or using any other suitable designator. In one embodiment, the mtrace response is routed from the leaf node to the root node via a unicast path. The mtrace response includes the path information collected by the root node via execution of the P2MP LSP-Trace. As depicted in FIG. 1C, for example, the path information included in the mtrace response is the hop information as follows: Hop 1=1; Hop 2=3; Hop 3=5; Hop 4=4.

The leaf node, upon receiving the mtrace response, may use the path information included in the mtrace response for any suitable purpose(s). In one embodiment, for example, the leaf node uses the path information included in the mtrace response to derive the end-to-end path information associated with the MPLS path that the multicast flow is taking from the root node to the leaf node. The leaf node may use the path information included in the mtrace response for any other suitable purpose(s).

FIG. 2 depicts one embodiment of a method for tracing a multicast path from a root node to a leaf node. As depicted in FIG. 2, a portion of the steps are performed by the leaf node and a portion of the steps are performed by the root node. Accordingly, it will be appreciated that, although depicted as a single method, the leaf and root nodes each may be configured to support respective portions of the method for tracing a multicast path from a root node to a leaf node.

At step 202, method 200 begins.

At step 204, the leaf node sends an mtrace request intended for the root node. The mtrace request is a request by the leaf node to trace the multicast path from the root node to the leaf node.

At step 206, the root node receives the mtrace request.

At step 208, the root node performs a P2MP LSP-Trace to the leaf node. The root node issues a P2MP LSP-Trace request which is routed along the multicast path. The root node receives P2MP LSP-Trace responses from the nodes along the multicast path. The P2MP LSP-Trace responses include path information associated with the multicast path.

At step 210, the root node sends an mtrace response intended for the leaf node. The mtrace response includes the path information collected by the root node while performing the P2MP LSP-Trace.

At step 212, the leaf node receives the mtrace response.

At step 214, the leaf node derives, based on the path information included in the mtrace response, end-to-end path information for the multicast path traced from the root node to the lead node.

At step 216, method 200 ends.

Although depicted and described as ending, it will be appreciated that the leaf node, upon deriving the end-to-end path information of the multicast path, may perform any other suitable actions using the path information received in the mtrace response and/or using the end-to-end path information derived based on the path information received in the mtrace response.

In this manner, the multicast path trace capability depicted and described herein provides a mechanism by which to trace the path that a multicast flow is taking in an MPLS network, where the trace is leaf-originated and based on a particular Source, Group (S,G) combination.

As described herein, the existing mtrace tool specifies a procedure for tracing IP multicast paths from a root node to a leaf node, but does not support tracing of a multicast path from the root node to the leaf node in MPLS networks or other multicast networks. The multicast path trace capability depicted and described herein enables similar operational and management capabilities for MPLS-based multicast networks. This is beneficial given the evolution and acceptance of MPLS in service provider networks for transporting multicast applications over MPLS LSPs using P2MP LSPs which are established using RSVP signaling. This also is beneficial for various other reasons.

Although primarily depicted and described herein with respect to use of the IETF standard “Detecting Data Plane Failures in Point-to-Multipoint Multiprotocol Label Switching (MPLS)—Extensions to LSP Ping” for tracing the multicast path from the root node to the leaf node, it will be appreciated that any other suitable multicast path trace capability may be used.

Although primarily depicted and described herein with respect to tracing multicast paths from root node to leaf node for specific types of multicast networks supporting specific types of multicast paths (e.g., for the tracing of P2MP LSP paths in MPLS networks), it will be appreciated that the multicast path trace capability may be adapted for use in tracing any suitable multicast paths in any suitable types of multicast networks.

FIG. 3 depicts a high-level block diagram of a computer suitable for use in performing functions described herein.

As depicted in FIG. 3, computer 300 includes a processor element 302 (e.g., a central processing unit (CPU) and/or other suitable processor(s)), a memory 304 (e.g., random access memory (RAM), read only memory (ROM), and the like), an cooperating module/process 305, and various input/output devices 306 (e.g., a user input device (such as a keyboard, a keypad, a mouse, and the like), a user output device (such as a display, a speaker, and the like), an input port, an output port, a receiver, a transmitter, and storage devices (e.g., a tape drive, a floppy drive, a hard disk drive, a compact disk drive, and the like)).

It will be appreciated that the functions depicted and described herein may be implemented in software and/or hardware, e.g., using a general purpose computer, one or more application specific integrated circuits (ASIC), and/or any other hardware equivalents. In one embodiment, the cooperating process 305 can be loaded into memory 304 and executed by processor 302 to implement the functions as discussed herein. Thus, cooperating process 305 (including associated data structures) can be stored on a computer readable storage medium, e.g., RAM memory, magnetic or optical drive or diskette, and the like.

It is contemplated that some of the steps discussed herein as software methods may be implemented within hardware, for example, as circuitry that cooperates with the processor to perform various method steps. Portions of the functions/elements described herein may be implemented as a computer program product wherein computer instructions, when processed by a computer, adapt the operation of the computer such that the methods and/or techniques described herein are invoked or otherwise provided. Instructions for invoking the inventive methods may be stored in fixed or removable media, transmitted via a data stream in a broadcast or other signal-bearing medium, and/or stored within a memory within a computing device operating according to the instructions.

Although various embodiments which incorporate the teachings of the present invention have been shown and described in detail herein, those skilled in the art can readily devise many other varied embodiments that still incorporate these teachings. 

1. A method for tracing a multicast path between a root node and a leaf node in a multicast network, comprising: sending, from the leaf node toward the root node, a multicast trace request requesting tracing of the multicast path from the root node to the leaf node; and receiving, at the leaf node, a multicast trace response from the root node, wherein the multicast trace response includes path information associated with the multicast path from the root node to the leaf node.
 2. The method of claim 1, wherein the multicast trace request comprises an Internet Group Management Protocol (IGMP) Message Type indicative that the multicast trace request is an mtrace request for a Point-to-Multipoint (P2MP) Multiprotocol Label Switching (MPLS) network.
 3. The method of claim 1, wherein the multicast trace request is configured for causing the root node to initiate a path trace request adapted for tracing the multicast path from the root node to the leaf node.
 4. The method of claim 3, wherein the path trace request initiated from the root node is a request for a Point-to-Multipoint (P2MP) Label Switched Path (LSP)-Trace.
 5. The method of claim 4, wherein the P2MP LSP-Trace includes a Target Forwarding Equivalence Class (FEC) Stack TLV adapted for indicating to a transit node of the multicast path that the root node is requesting packet statistics associated with the multicast path.
 6. The method of claim 3, wherein the path trace request is configured for causing at least one transit node of the multicast path to reply to the root node with path information associated with the multicast path.
 7. The method of claim 3, wherein the root node receives at least one path trace response associated with the path trace request, wherein the at least one path trace response comprises path information associated with the multicast path.
 8. The method of claim 1, wherein the multicast trace response comprises an Internet Group Management Protocol (IGMP) Message Type indicative that the multicast trace response is an mtrace response for a Point-to-Multipoint (P2MP) Multiprotocol Label Switching (MPLS) network.
 9. The method of claim 1, wherein the path information comprises at least one of hop information and packet statistics.
 10. The method of claim 1, further comprising: deriving, at the leaf node, end-to-end path information for the multicast path using at least a portion of the path information received in the multicast trace response from the root node.
 11. The method of claim 1, wherein the network is a Multiprotocol Label Switching (MPLS) network, wherein the multicast path is a Point-to-Multipoint (P2MP) Label Switched Path (LSP).
 12. An apparatus for tracing a multicast path between a root node and a leaf node in a multicast network, comprising: a processor configured for: sending, from the leaf node toward the root node, a multicast trace request requesting tracing of the multicast path from the root node to the leaf node; and receiving, at the leaf node, a multicast trace response from the root node, wherein the multicast trace response includes path information associated with the multicast path from the root node to the leaf node.
 13. A method for tracing a multicast path between a root node and a leaf node of a multicast tree in a multicast network, the method comprising: receiving, at the root node, a multicast trace request by the leaf node for tracing the multicast path from the root node to the leaf node; initiating, from the root node, a path trace request adapted for tracing the multicast path from the root node to the leaf node; receiving, at the root node, at least one path trace response comprising path information associated with the multicast path; and propagating a multicast trace response toward the leaf node, wherein the multicast trace response includes at least a portion of the path information from the at least one path trace response.
 14. The method of claim 13, wherein the multicast trace request comprises an Internet Group Management Protocol (IGMP) Message Type indicative that the multicast trace request is an mtrace request for a Point-to-Multipoint (P2MP) Multiprotocol Label Switching (MPLS) network.
 15. The method of claim 13, wherein the path trace request initiated from the root node is a request for a Point-to-Multipoint (P2MP) Label Switched Path (LSP)-Trace.
 16. The method of claim 15, wherein the P2MP LSP-Trace includes a Target Forwarding Equivalence Class (FEC) Stack TLV adapted for indicating to a transit node of the multicast path that the root node is requesting packet statistics associated with the multicast path.
 17. The method of claim 13, wherein the path information comprises at least one of hop information and packet statistics.
 18. The method of claim 13, wherein the multicast trace response comprises an Internet Group Management Protocol (IGMP) Message Type indicative that the multicast trace response is an mtrace response for a Point-to-Multipoint (P2MP) Multiprotocol Label Switching (MPLS) network.
 19. The method of claim 13, wherein the network is a Multiprotocol Label Switching (MPLS) network, wherein the multicast path is a Point-to-Multipoint (P2MP) Label Switched Path (LSP).
 20. An apparatus for tracing a multicast path in a network, comprising: a processor configured for: receiving, at a root node of a multicast tree, a multicast trace request from a leaf node of the multicast tree for tracing a multicast path from the root node to the leaf node; initiating, from the root node of the multicast tree, a path trace request adapted for tracing a path from the root node to the leaf node; receiving at least one path trace response at the root node of the multicast tree; and propagating a multicast trace response toward the leaf node, wherein the multicast trace response includes at least a portion of the path information from the at least one path trace response. 